#include <stdio.h>
#include <stdlib.h>
#include "Includes/Gal.h"
#include <unistd.h>

/// <summary>
/// TODO
/// </summary>
ContextPtr GalCreateFilter(void)
{
	ContextPtr ctx;
	if (!(ctx = (ContextPtr)malloc(sizeof(Context))))
		return NULL;

	ctx->left = 0;
	ctx->top = 0;
	ctx->right = 0;
	ctx->bottom = 0;
	ctx->comp_mode = 0;
	ctx->line_width = 1.0f;
	GalMatrixIdentity(&ctx->projection);

	return ctx;
}